import time
import os

def Do(cmd):
    os.system(str(cmd))

Do('git add .')

Do('git commit -m "None"')

Do('git status')

Do('uwsgi --stop uwsgi/uwsgi.pid')

Do('git pull origin master')

Do('uwsgi --ini uwsgi/uwsgi.ini')

